#pragma once

#include <QDialog>
#include "ui_renamedialog.h"

QT_BEGIN_NAMESPACE
namespace Ui { class ReNameDialogClass; };
QT_END_NAMESPACE

class ReNameDialog : public QDialog
{
	Q_OBJECT

public:
	ReNameDialog(QWidget *parent = nullptr);
	void setOldName(const QString& oldName);
	QString getNewName();
	~ReNameDialog();

public slots:
	void onOkBtnClicked();
	void onCancelBtnClicked();

private:
	Ui::ReNameDialogClass *ui;
};
